Manager: Control Manager



Carbon will fully support the Control Manager. Be aware, however, that if you use custom control definition procedures (also known as CDEFs), you must compile them as PowerPC-native code.

To ensure that your application can most easily take advantage of future enhancements to the Mac OS, Apple suggests that you consider the following points.

* Your application must use the functions defined by the Control Manager whenever it creates and disposes of Control Manager data structures. For example, instead of directly creating and disposing of control records, applications must call the Control Manager functions GetNewControl and DisposeControl.

* You should revise your application so that it accesses the data structures defined by the Control Manager only through accessor functions. The use of these accessor functions, to be provided soon, will give your application greater threading flexibility in Mac OS X.

* You are encouraged to adopt the standard Mac OS 8 control definition procedures in your application. Applications that use the standard control definition procedures inherit the Mac OS 8 human interface appearance. Applications that use custom control definition procedures work correctly, but because custom definition procedures invoke their own drawing routines, Mac OS 8 can't draw these applications with the current appearance.

 ActivateControl

 AdvanceKeyboardFocus

 AutoEmbedControl

 ClearKeyboardFocus

 CountSubControls

 CreateRootControl

 DeactivateControl

 DisposeControl

 DragControl

 dragcontrol

Use DragControl instead.

 Draw1Control

 DrawControlInCurrentPort

 DrawControls

 DumpControlHierarchy

 EmbedControl

 FindControl

 findcontrol

Use FindControl instead.

 FindControlUnderMouse

 GetAuxiliaryControlRecord

 GetBestControlRect

 GetBevelButtonContentInfo

 GetBevelButtonMenuHandle

 GetBevelButtonMenuValue

 GetControl32BitMaximum

 GetControl32BitMinimum

 GetControl32BitValue

 GetControlAction

 GetControlData

 GetControlDataSize

 GetControlFeatures

 GetControlMaximum

 GetControlMinimum

 GetControlProperty

 GetControlPropertySize

 GetControlReference

 GetControlRegion

 GetControlTitle

 getcontroltitle

Use GetControlTitle instead.

 GetControlValue

 GetControlVariant

 GetControlViewSize

 GetImageWellContentInfo

 GetIndexedSubControl

 GetKeyboardFocus

 GetNewControl

 GetRootControl

 GetSuperControl

 GetTabContentRect

 HandleControlClick

 HandleControlKey

 HideControl

 HiliteControl

 IdleControls

 IsControlActive

 IsControlVisible

 IsValidControlHandle

 KillControls

 MoveControl

 NewControl

 newcontrol

Use NewControl instead.

 RemoveControlProperty

 ReverseKeyboardFocus

 SendControlMessage

 SetBevelButtonContentInfo

 SetBevelButtonGraphicAlignment

 SetBevelButtonMenuValue

 SetBevelButtonTextAlignment

 SetBevelButtonTextPlacement

 SetBevelButtonTransform

 SetControl32BitMaximum

 SetControl32BitMinimum

 SetControl32BitValue

 SetControlAction

 SetControlColor

 SetControlData

 SetControlFontStyle

 SetControlMaximum

 SetControlMinimum

 SetControlProperty

 SetControlReference

 SetControlSupervisor

 SetControlTitle

 setcontroltitle

Use SetControlTitle instead.

 SetControlValue

 SetControlViewSize

 SetControlVisibility

 SetDisclosureTriangleLastValue

 SetImageWellContentInfo

 SetImageWellTransform

 SetKeyboardFocus

 SetTabEnabled

 SetUpControlBackground

 SetUpControlTextColor

 ShowControl

 SizeControl

 TestControl

 testcontrol

Use TestControl instead.

 TrackControl

 trackcontrol

Use TrackControl instead.

 UpdateControls

[Table of Contents] [Function Index]

Generated on: 2/12/99. Copyright 1998 Apple Computer, Inc. All rights reserved.